package cn.tedu.travelsystem.review.mapper;

import cn.tedu.travelsystem.review.pojo.dto.ReviewAddParam;
import cn.tedu.travelsystem.review.pojo.dto.ReviewDeleteParam;
import cn.tedu.travelsystem.review.pojo.dto.ReviewSelectParam;
import cn.tedu.travelsystem.review.pojo.dto.ReviewUpdateParam;
import cn.tedu.travelsystem.review.pojo.entity.Review;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
public interface ReviewMapper {
    int insertReview(ReviewAddParam reviewAddParam);

    int deleteReview(ReviewDeleteParam reviewDeleteParam);

    int updateReview(ReviewUpdateParam reviewUpdateParam);

    List<Review> selectReviewList(ReviewSelectParam param);

}
